<style type="text/css">
.storelogo img{width:3.2rem;height:3.2rem}
.merchgroup .store-star {padding:0.1rem 0 0.2rem 0;font-size:0.55rem;line-height:1rem}
.merchgroup .store-star img{height:0.66rem}
.star-on,.star-off{position:absolute;top:1rem;left:0;overflow:hidden}
.star-rate {margin-left:0.2rem;color:#19b955}
.store-distance{float:right;color:#999}
.store-moneylimit{font-size:0.55rem}
.delete{color: #bebebe;text-decoration:line-through;font-size:0.55rem}
</style>
<div class="fui-page fui-page-current" style="background:#fff">
	<div class="fui-content">
		<div class="fui-cell-group fui-cell-click" style="margin-top:0">
				<div class="fui-cell">
					<div class="fui-cell-info">
						<div class="fui-cell-info text bold" style="font-size:1.2rem;color:#333">播种详情</div>
					</div>
				</div>
		</div>
		<div class="jy-content">
		<div ng-repeat="item in pagedata.list" class="fui-cell-group radius" style="padding:0.5rem">
				<div class="fui-cell" style="width:100%;background-color:#52ae89;border-radius: 0.2rem;color:#fff;text-align:left;padding:0.5rem">
					<div class="fui-cell-text" style="color:#fff;line-height:1.0rem">
						<div class="bold">{{item.seed.title}}</div>
					</div>
					<div class="fui-cell-remark noremark" style="color:#fff;line-height:1.0rem;border-left:1px solid #fff;padding-left:0.3rem">
						<div>{{item.plantarea}}㎡</div>
						<div style="font-size:0.6rem">播种面积</div>
					</div>
				</div>
				<div class="fui-cell">
					<div class="fui-cell-label" style="width:3rem"><img style="border-radius:100%;width:50px;height:50px" ng-src="{{tomedia(item.seed.image) || '../core/resource/images/nopic.jpg'}}"  /></div>
					<div class="fui-cell-text">
						<div class="text bold">产量/㎡：{{item.seed.num}}KG</div>
						<div class="text" style="color:#f60;font-size:0.60rem">周期：{{item.seed.growtime}}天</div>
						<div class="text" style="color:#f60;font-size:0.60rem">预计收获：{{item.seed.shouday}}</div>
						<div class="subtitle" style="font-size:0.6rem">播种月份:{{item.seed.plant_time}}月</div>
						<div class="subtitle" style="font-size:0.6rem">{{item.lev_name}}</div>
						<div ng-if="item.shoukg>0" class="text bold" style="color:red;font-size:0.60rem">实际收获：{{item.shoukg}}KG</div>
						<div ng-if="item.order.sendtype==1 && item.order.address" class="subtitle towline" style="-webkit-line-clamp: 2;font-size:0.55rem">
							<span>寄送地址：{{item.order.address || '无'}}</span>
						</div>
					</div>
					<div class="fui-cell-remark noremark">
						<div ng-if="item.lastarea>0" class="btn btn-sm btn-success" href="javascript:" ng-click="access_json('jy_farmer/plant/plant/id='+item.id)">立即播种</div>
						<div ng-if="item.lastarea<=0" class="gray">已播种完成</div>
					</div>
				</div>
				<div class="fui-cell-title r" ng-if="item.status==1 || item.status==2">
					<div ng-if="item.totype0!=1" class="btn btn-sm btn-success" href="javascript:" ng-click="post({},'jy_farmer/myplant/water/id='+item.id)">立即浇水</div>
					<div ng-if="item.totype0==1" class="btn btn-sm btn-default disabled">今日已浇水</div>
					<div ng-if="item.totype3!=1" class="btn btn-sm btn-success" href="javascript:" ng-click="post({},'jy_farmer/myplant/shifei/id='+item.id)">施肥</div>
					<div ng-if="item.totype3==1" class="btn btn-sm btn-default disabled">已施肥</div>
					<div ng-if="item.totype2!=1" class="btn btn-sm btn-success" href="javascript:" ng-click="post({},'jy_farmer/myplant/worm/id='+item.id)">除草</div>
					<div ng-if="item.totype2==1" class="btn btn-sm btn-default disabled">已除草</div>
					<div ng-if="item.totype1!=1" class="btn btn-sm btn-success" href="javascript:" ng-click="post({},'jy_farmer/myplant/weed/id='+item.id)">除虫</div>
					<div ng-if="item.totype1==1" class="btn btn-sm btn-default disabled">已除虫</div>
				</div>
		</div>
		<div ng-if="pagedata.list.length<=0" class="content-empty">
			<i class='icon icon-chakanpingjia'></i>
			<div>暂无相关土地</div>
		</div>
		<div ng-show="pagedata.loading" class='infinite-loading'><span class='fui-preloader'></span><span style="margin-left:1.5rem"> 正在加载...</span></div>
		</div>
	</div>
</div>
<div ng-include="sys_html('_footer')"></div>
<script>
scope.tool.get_list('jy_farmer/myplantlog/list/',true);
	scope.pagedata.scroll_bottom=function(){
		scope.tool.get_list('jy_farmer/myplantlog/list/');
	}
</script>

